
package stcu.robjects;

import com.nvlled.route.*;

public class MemberAdd extends GroupObject {
    private String name;
    private boolean newMember;

    public MemberAdd(String gid, String name) {
        super(gid);
        this.name = name;
        newMember = true;
    }

    public MemberAdd(String gid, String name, boolean isNew) {
        super(gid);
        this.name = name;
        newMember = isNew;
    }

    public boolean isNewMember() {
        return newMember;
    }

    public String getName() {
        return name;
    }
}
